Skip to content

Add high-speed binary file upload to Notehub#148

Merged
Bucknalla merged 1 commit intomainfrom
alex-upload
Feb 18, 2026
Merged

Add high-speed binary file upload to Notehub#148
Bucknalla merged 1 commit intomainfrom
alex-upload

Conversation

@Bucknalla
Copy link
Collaborator

@Bucknalla Bucknalla commented Feb 17, 2026

Summary

  • Add notecard/upload.py with chunked binary upload that stages data through the Notecard's binary buffer (card.binary.put) and sends to Notehub via web.post with binary:true
  • Add retry logic for both binary staging (up to 50 attempts) and web.post HTTP errors (up to 20 attempts with 15s delay, re-staging binary data before each retry)
  • Add progress callback support with per-chunk stats (bytes/sec, ETA, percent complete)
  • Add missing label parameter to web.post() and web.put() fluent API helpers

Test plan

  • 22 new unit tests covering validation, single/multi-chunk uploads, binary staging retries, web.post retries, and progress callbacks
  • All 415 existing tests pass with no regressions
  • Manual verification with a real Notecard uploading a binary file to a configured proxy route

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@Bucknalla Bucknalla merged commit 698f335 into main Feb 18, 2026
5 of 6 checks passed
@Bucknalla Bucknalla deleted the alex-upload branch February 18, 2026 16:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments